dy-lib=libmymath.so
$(dy-lib):mymath.o
	gcc -shared -o $@ $^
mymath.o:mymath.c
	gcc -fPIC -c $^ 
.PHONY:clean
clean:
	rm -f -r *.o *.so mymath
.PHONY:output
output:
	mkdir -p mymath/include
	mkdir -p mymath/lib
	cp *.h mymath/include
	cp *.so mymath/lib